from django.contrib import admin
from .models import threatdb,apinfo
# Register your models here.

class apinfoAdmin(admin.ModelAdmin):
    list_display = ['id','apitype','apikey']

class threatAdmin(admin.ModelAdmin):
    list_display = ['id','domains','ip','is_malicious']

admin.site.register(apinfo,apinfoAdmin)
admin.site.register(threatdb,threatAdmin)